import request from '@/api/request'

export function updateTitle(params) {
  return request({
    url: '/admin/xy/upload/updateTitle',
    method: 'post',
    params
  })
}

export function list(params) {
  return request({
    url: '/admin/xy/upload/list',
    method: 'post',
    params
  })
}

export function delItem(params) {
  return request({
    url: '/admin/xy/upload/del',
    method: 'get',
    params
  })
}

export function uploadImg(params) {
  return request({
    url: '/admin/xy/upload/uploadImg',
    method: 'post',
    params
  })
}